package com.hos.db.entity.consult;

import java.util.Date;

/**
 * Created by guom on 2018/10/31.
 */
public class ConsultChatEntity {
    private String consultId;//咨询id
    private String chatId;//消息id
    private String chatSendType;//发送者类型
    private Date chatSendTime;//发送时间
    private String chatMsg;//消息
    //TEXT文字 PIC 图片
    private String chatType;//消息类型
    private int chatImageW;//消息图片宽
    private int chatImageH;//消息图片高

    public String getConsultId() {
        return consultId;
    }

    public void setConsultId(String consultId) {
        this.consultId = consultId;
    }

    public String getChatId() {
        return chatId;
    }

    public void setChatId(String chatId) {
        this.chatId = chatId;
    }

    public String getChatSendType() {
        return chatSendType;
    }

    public void setChatSendType(String chatSendType) {
        this.chatSendType = chatSendType;
    }

    public Date getChatSendTime() {
        return chatSendTime;
    }

    public void setChatSendTime(Date chatSendTime) {
        this.chatSendTime = chatSendTime;
    }

    public String getChatMsg() {
        return chatMsg;
    }

    public void setChatMsg(String chatMsg) {
        this.chatMsg = chatMsg;
    }

    public String getChatType() {
        return chatType;
    }

    public void setChatType(String chatType) {
        this.chatType = chatType;
    }

    public int getChatImageW() {
        return chatImageW;
    }

    public void setChatImageW(Integer chatImageW) {
        if (chatImageW == null) {
            chatImageW = 0;
        }
        this.chatImageW = chatImageW;
    }

    public int getChatImageH() {
        return chatImageH;
    }

    public void setChatImageH(Integer chatImageH) {
        if (chatImageH == null) {
            chatImageH = 0;
        }
        this.chatImageH = chatImageH;
    }
}
